<template>
  <div class="enshrine">
    <Navhead labelText="我的收藏" />
    <Homebody v-for="enshrineitem in enshrinelist" :key="enshrineitem.id" :spread="enshrineitem" />
  </div>
</template>

<script>
import Navhead from "../../components/Navhead";
import Homebody from "../../components/Homebody";
export default {
  components: {
    Navhead,
    Homebody
  },
  data() {
    return {
      enshrinelist: []
    };
  },
  mounted() {
    this.$axios({
      url: "/user_star"
    }).then(res => {
      // console.log(res);
      this.enshrinelist = res.data.data;
    });
  }
};
</script>

<style lang="less" scoped>
.enshrine {
  padding: 7.222vw 4.444vw 7.222vw 5.556vw;
}
</style>